import request from "@/request/";

export const getList = (data) => {
  return request({
    url: "/api/mes-production-service/process/page",
    method: "POST",
    data,
  });
};
export const save = (data) => {
  return request({
    url: "/api/mes-production-service/process/save",
    method: "POST",
    data,
  });
};

export const update = (data) => {
  return request({
    url: "/api/mes-production-service/process/update",
    method: "POST",
    data,
  });
};

export const updateState = (data) => {
  return request({
    url: "/api/mes-production-service/process/state/update",
    method: "POST",
    data,
  });
};
